package com.java.manage.model;

import com.java.common.model.PageParam;
import lombok.Data;

import java.util.Date;

@Data
public class Accessories extends PageParam {
    //主键
    private Integer id;
    //配件名称
    private String name;
    //描述
    private String des;
    //单价
    private Double price;
    //数量
    private Integer total;
    //最近一次领料时间
    private Date usedTime;

    //最近一次购买时间
    private Date buyedTime;
    //供应商Id,关联供应商表t_supply
    private Integer supplyId;
    //创建时间
    private Date createTime;
    //所属分类ID，关联了分配表t_accessories_type
    private Integer accessoriesType;
    //所属门店ID，关联门店表t_store
    private Integer storeId;
    //状态，1-启用，0-停用
    private String status;
    //采购状态1已采购，0-未采购
    private String purchase;
    //管理供应表
    private Supply supply;
    //关联配件分类
    private AccessoriesType accessoriesTypes;
    //关联门店
    private Company company;
}
